﻿using NP.BPMReportPlatform.Entities.BPM_Platform;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.NIP_WorkFlow
{
    [SugarTable("MDS_User")]
    public class MDS_User
    {
        [SugarColumn(IsPrimaryKey = true, IsNullable = false)]
        public Guid ID { get; set; }

        public string AccountName { get; set; } = "";

        public string AccountType { get; set; } = "";

        public string EmployeeNo { get; set; } = "";

        public string SAPNo { get; set; } = "";

        public string Name { get; set; } = "";

        public string DisplayName { get; set; } = "";

        public string Description { get; set; } = "";

        public Guid DepartmentID { get; set; } = Guid.Empty;

        public string DepartmentName { get; set; } = "";

        public string MemberOf { get; set; } = "";

        public string ObjectClass { get; set; } = "";

        public string Mail { get; set; } = "";

        public string TelephoneNumber { get; set; } = "";

        public string Mobile { get; set; } = "";

        public string UserPrincipalName { get; set; } = "";

        public string SN { get; set; } = "";

        public string GivenName { get; set; } = "";

        public string Title { get; set; } = "";

        public string Department { get; set; } = "";

        public string Company { get; set; } = "";

        public string DirectReports { get; set; } = "";

        public Guid ManagerID { get; set; } = Guid.Empty;

        public string Manager { get; set; } = "";

        public DateTime? SyncTime { get; set; } = new DateTime(0x76c, 1, 1);

        public int OrderID { get; set; } = -1;

        public Guid OrgID { get; set; } = Guid.Empty;

        public string OrgNumber { get; set; } = "";

        public string OrgNickNumber { get; set; } = "";

        public string OrgName { get; set; } = "";

        public string OrgDisplayName { get; set; } = "";

        public string AdsPath { get; set; } = "";

        public bool? Disabled { get; set; } = false;

        public bool? IsSync { get; set; } = false;

        public bool? Deleted { get; set; } = false;

        public DateTime? ChangeTime { get; set; } = new DateTime(0x76c, 1, 1);

        public string Gender { get; set; } = "";

        public string CustomField1 { get; set; } = "";

        public string CustomField2 { get; set; } = "";

        public string CustomField3 { get; set; } = "";

        public string CustomField4 { get; set; } = "";

        public string CustomField5 { get; set; } = "";

        public string Password { get; set; }

        public string SecretCode { get; set; }
    }
}
